import csv

class CSVUtil():
    def __init__(self, filePath):
        self.filePath = filePath

    def get_list_data(self):
        # 读取CSV文件
        value_rows = []
        with open(self.filePath, "r", encoding="utf-8") as f:
            f_csv = csv.reader(f)
            next(f_csv)  # 如果从第2行开始读取数据，则加入该行代码
            for r in f_csv:
                value_rows.append(r)
        return value_rows

if __name__=="__main__":
    filePath="..\\testdata\\testdata1.csv"
    u=CSVUtil(filePath)
    print(u.get_list_data())